# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class InstanceSpec(object):

    def __init__(self, instanceName, instanceType, replicas, dataSourceId, accessKey, secretKey, ):
        """
        :param instanceName:  实例名称,长度限制32字节,允许英文字母,数字,下划线,中划线和中文
        :param instanceType:  实例类型-规格 1->网关版本, 2->插件版本
        :param replicas:  实例副本数量
        :param dataSourceId:  数据源ID
        :param accessKey:  AccessKey
        :param secretKey:  SecretKey
        """

        self.instanceName = instanceName
        self.instanceType = instanceType
        self.replicas = replicas
        self.dataSourceId = dataSourceId
        self.accessKey = accessKey
        self.secretKey = secretKey
